package com.canbot.u05.bean.sales;

import java.util.List;

/**
 * Created by liutao on 2017/3/15.
 * 导购售卖咨询
 */

public class SellInfo {

        private int id = -1;

        private String uuid;

        private String title;

        private long date;

        private List<VoiceInfo> voiceInfo;

        private int random;//0 代表顺序播放voice,1代表随机播放

        public SellInfo() {
        }

//    public SellInfo(String title, long date, List<VoiceInfo> voiceInfo, int random) {
//        this.title = title;
//        this.date = date;
//        this.voiceInfo = voiceInfo;
//        this.random = random;
//    }

        public SellInfo(String uuid, String title, long date, List<VoiceInfo> voiceInfo, int random) {
                this.uuid = uuid;
                this.title = title;
                this.date = date;
                this.voiceInfo = voiceInfo;
                this.random = random;
        }

        public String getUuid() {
                return uuid;
        }

        public void setUuid(String uuid) {
                this.uuid = uuid;
        }

        public int getId() {
                return id;
        }

        public void setId(int id) {
                this.id = id;
        }

        public String getTitle() {
                return title;
        }

        public void setTitle(String title) {
                this.title = title;
        }

        public long getDate() {
                return date;
        }

        public void setDate(long date) {
                this.date = date;
        }

        public List<VoiceInfo> getVoiceInfo() {
                return voiceInfo;
        }

        public void setVoiceInfo(List<VoiceInfo> voiceInfo) {
                this.voiceInfo = voiceInfo;
        }

        public int getRandom() {
                return random;
        }

        public void setRandom(int random) {
                this.random = random;
        }

        @Override
        public String toString() {
                return "SellInfo{" +
                        "id=" + id +
                        ", uuid='" + uuid + '\'' +
                        ", title='" + title + '\'' +
                        ", date=" + date +
                        ", voiceInfo=" + voiceInfo +
                        ", random=" + random +
                        '}';
        }
}
